import Vue from 'vue'
import App from './App.vue'
//导入路由模块
import router from './router'

import axios from 'axios'

Vue.config.productionTip = false

//在全局配置axios

// axios.defaults.baseURL = 'https://www.escook.cn'


axios.defaults.baseURL = 'http://localhost:3000/'

Vue.prototype.$http = axios
new Vue({
    //挂载路由
    router,
    render: h => h(App),
}).$mount('#app')

